home *** CD-ROM | disk | FTP | other *** search
- var §\x01§ = 354;
- while(true)
- {
- if(eval("\x01") == 354)
- {
- set("\x01",eval("\x01") + 193);
- §§push(true);
- }
- else
- {
- if(eval("\x01") == 21)
- {
- set("\x01",eval("\x01") + 771);
- §§push(§§pop() add §§pop());
- break;
- }
- if(eval("\x01") == 547)
- {
- set("\x01",eval("\x01") - 526);
- if(§§pop())
- {
- set("\x01",eval("\x01") + 771);
- }
- }
- else if(eval("\x01") == 792)
- {
- set("\x01",eval("\x01") - 744);
- §§push(true);
- }
- else if(eval("\x01") == 48)
- {
- set("\x01",eval("\x01") + 571);
- if(§§pop())
- {
- set("\x01",eval("\x01") - 42);
- }
- }
- else
- {
- if(eval("\x01") == 619)
- {
- set("\x01",eval("\x01") - 42);
- stop();
- if(§§pop())
- {
- set("\x01",eval("\x01") + 132);
- pr._alpha = 0;
- step = 10;
- this.onEnterFrame = function()
- {
- pr.gotoAndStop(Math.round(100 * _root.getBytesLoaded() / _root.getBytesTotal()));
- pr._alpha += step;
- if(pr._alpha > 100)
- {
- pr._alpha = 100;
- step = 0;
- }
- if(step < 0)
- {
- this._alpha += step;
- }
- if(this._alpha <= 0)
- {
- this._parent.loaded();
- }
- if(_root.getBytesLoaded() == _root.getBytesTotal())
- {
- step = -10;
- }
- };
- stop();
- }
- break;
- }
- if(eval("\x01") == 577)
- {
- set("\x01",eval("\x01") - 121);
- §§push(true);
- }
- else
- {
- if(eval("\x01") == 360)
- {
- set("\x01",eval("\x01") + 615);
- break;
- }
- if(eval("\x01") != 456)
- {
- if(eval("\x01") == 975)
- {
- set("\x01",eval("\x01") - 495);
- if(!_global.utils)
- {
- _global.utils = new Object();
- }
- §§pop();
- if(!_global.utils.FMusic)
- {
- utils.FMusic extends MovieClip;
- var _loc2_ = utils.FMusic = function()
- {
- super();
- this.music_arr = new Array();
- this.music_arr_indx = new Object();
- this.activeMusic = null;
- this.valume = 50;
- this.countLoop = 1000000;
- this.indexSound = 0;
- }.prototype;
- _loc2_.setLoop = function(loop)
- {
- this.countLoop = loop;
- };
- _loc2_.addMusic2 = function(nameMusic, url, compliteFunc, progressFunc, goal)
- {
- if(this[nameMusic] == undefined)
- {
- var _loc3_ = this.getNextHighestDepth();
- this.createEmptyMovieClip(nameMusic,_loc3_);
- var _loc2_ = new Sound(this[nameMusic]);
- _loc2_.onLoad = function(how)
- {
- trace("> MUSIC LOADED !!!!!!!!!!!!!!!!!!!!!!!!!!!");
- compliteFunc.apply(goal,[how]);
- if(how == false)
- {
- this[nameMusic].removeMovieClip();
- }
- };
- _loc2_.loadSound(url);
- _loc2_.mc = this[nameMusic];
- this.music_arr.push(_loc2_);
- this.music_arr_indx[nameMusic] = Number(this.music_arr.length - 1);
- }
- else
- {
- compliteFunc.apply(goal,[true]);
- }
- };
- _loc2_.addMusic = function(nameMusic)
- {
- var _loc4_ = this.getNextHighestDepth();
- this.createEmptyMovieClip(nameMusic,_loc4_);
- var _loc3_ = new Sound(this[nameMusic]);
- _loc3_.attachSound(nameMusic);
- this.music_arr.push(_loc3_);
- this.music_arr_indx[nameMusic] = this.music_arr.length - 1;
- };
- _loc2_.setValume = function(val)
- {
- this.valume = val;
- for(var _loc3_ in this.music_arr)
- {
- this.music_arr[_loc3_].setVolume(val);
- }
- };
- _loc2_.playMusic2 = function(nameM)
- {
- trace("playMusic2 >>> " + this.music_arr_indx[nameM] + " " + nameM);
- this.playMusic(this.music_arr_indx[nameM]);
- };
- _loc2_.playMusic = function(index)
- {
- trace("PLAY >>>>>>>>>> " + this.activeMusic + " " + index);
- if(this.activeMusic != index)
- {
- if(index >= this.music_arr.length || index < 0 || index == undefined)
- {
- index = 0;
- }
- this.currentLoop = this.countLoop;
- this.lastMusic = this.activeMusic;
- this.activeMusic = index;
- var v0 = this.valume;
- this.onEnterFrame = function()
- {
- v0--;
- if(v0 <= 0)
- {
- v0 = 0;
- this.onEnterFrame = function()
- {
- v0++;
- if(v0 >= this.valume)
- {
- v0 = this.valume;
- this.onEnterFrame = null;
- }
- this.music_arr[this.activeMusic].setVolume(v0);
- };
- this.music_arr[this.lastMusic].stop();
- }
- this.music_arr[this.lastMusic].setVolume(v0);
- };
- this.music_arr[this.activeMusic].setVolume(0);
- this.music_arr[this.activeMusic].start(0,this.currentLoop);
- this.music_arr[this.activeMusic]._parent = this;
- this.music_arr[this.activeMusic].onSoundComplete = function()
- {
- this = this._parent;
- this.music_arr[this.activeMusic].start();
- v0 = this.valume;
- this.onEnterFrame = function()
- {
- v0--;
- this.music_arr[this.activeMusic].setVolume(v0);
- if(v0 <= 0)
- {
- this.music_arr[this.activeMusic].stop();
- this.onEnterFrame = null;
- this.playMusic(this.activeMusic + 1);
- }
- };
- this.music_arr[this.activeMusic].onSoundComplete = null;
- };
- }
- };
- _loc2_.stopMusic = function()
- {
- this.v0 = this.valume;
- this.onEnterFrame = function()
- {
- this.v0 -= 5;
- this.music_arr[this.activeMusic].setVolume(this.v0);
- if(this.v0 <= 0)
- {
- this.music_arr[this.activeMusic].stop();
- this.activeMusic = null;
- this.onEnterFrame = null;
- }
- };
- };
- _loc2_.pauseMusic = function(how)
- {
- if(how)
- {
- this.v0 = this.valume;
- this.onEnterFrame = function()
- {
- this.v0 -= 5;
- this.music_arr[this.activeMusic].setVolume(this.v0);
- if(this.v0 <= 0)
- {
- this.music_arr[this.activeMusic].stop();
- this.onEnterFrame = null;
- }
- };
- }
- else
- {
- this.playMusic(this.activeMusic);
- }
- };
- §§push(ASSetPropFlags(utils.FMusic.prototype,null,1));
- }
- §§pop();
- }
- break;
- }
- set("\x01",eval("\x01") - 96);
- if(§§pop())
- {
- set("\x01",eval("\x01") + 615);
- }
- }
- }
- }
- }
-